Skip to content

London | 25-SDC-Nov | Aida Eslamimoghadam | Sprint 4 | Implement cowsay in Python#275

Open
aydaeslami wants to merge 2 commits intoCodeYourFuture:mainfrom
aydaeslami:implement-cowsay
Open

London | 25-SDC-Nov | Aida Eslamimoghadam | Sprint 4 | Implement cowsay in Python#275
aydaeslami wants to merge 2 commits intoCodeYourFuture:mainfrom
aydaeslami:implement-cowsay

Conversation

@aydaeslami
Copy link

@aydaeslami aydaeslami commented Dec 3, 2025

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

This PR includes implementing cowsay in Python and using a virtual environment.

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@aydaeslami aydaeslami added 📅 Sprint 4 Assigned during Sprint 4 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Dec 3, 2025
@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 3, 2025
@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

1 similar comment
@github-actions
Copy link

github-actions bot commented Dec 3, 2025

Your PR description contained template fields which weren't filled in.

Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@aydaeslami aydaeslami added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 10, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Feb 11, 2026
Copy link

@LonMcGregor LonMcGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few comments about some issues here. You may want to take another attempt at this task

prog="cowsay",
description="Simple cowsay clone",
)
parser.add_argument("--animal",choices=cowsay.list_cows(), help="The animal to be saying things.")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try running this script without any arguments - what do you expect to happen? does the actual output match this?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Feb 11, 2026
@aydaeslami aydaeslami added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 17, 2026
@LonMcGregor
Copy link

Good work cleaning up the extra line. What about my other comment - are you able to run this code without any errors? When I run it, it tells me there is an issue with the module missing an attribute.

@LonMcGregor LonMcGregor removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 18, 2026
@aydaeslami aydaeslami closed this Feb 18, 2026
@aydaeslami
Copy link
Author

Thank you @LonMcGregor for checking. The only time I received an error was when I ran the code without parameters, which I believe is expected based on the requirement in the README file. Otherwise, I don’t receive any other errors. It might be helpful if you could let me know how you are running it.
Many thanks.

@aydaeslami aydaeslami added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 18, 2026
@aydaeslami aydaeslami reopened this Feb 18, 2026
@LonMcGregor
Copy link

If I compare how you are using the animal list cowsay.list_cows() to what is in the spec, here: https://pypi.org/project/cowsay/

It seems to be different. Does cowsay.list_cows() give correct output for you?

@LonMcGregor LonMcGregor removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 4 Assigned during Sprint 4 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments